﻿#region NeoPatterns
// 
// NeoPatterns framework is released under LGPLv3 license.
// See http://www.opensource.org/licenses/lgpl-3.0.html for more details.
// 
// Please visit http://neopatterns.wikidot.com for more information about NeoPatterns
// 
// Copyright (c) Pascal Craponne 2008
// 
#endregion

namespace NeoPatterns.Patterns.FactoryMethod
{
    public class FactoryDefinition<T>
    {
        public T Value { get; private set; }
        public string ConcreteObjectName { get; private set; }

        public FactoryDefinition(T value, string concreteObjectName)
        {
            Value = value;
            ConcreteObjectName = concreteObjectName;
        }
    }
}